export interface Person {
  id?: string;
  name: string;
  age: number;
  gender: string;
}

export enum MessageType {
  alert = "alert",
  warning = "warning",
  ok = "ok",
}

export interface Message {
  type: MessageType;
  content: string;
}

export interface DogStatus {
  message: string;
  status: string;
}

export interface INews {
  id?: string;
  type_id?: string;
  type?: string;
  title: string;
  author: string;
  express?: string;
  content: string;
  publishedDate: Date;
}

export interface NewsType {
  id: string;
  type: string;
}

export interface IMittToy {
  name: string;
}

export enum EMittToyEvent {
  MITT_CHILD_MYTOY = "mitt-child-mytoy",
  MITT_PARENT_MYTOY = "mitt-parent-mytoy",
  MITT_GLOBAL_ALERT = "mitt-global-alert",
}
